package com.huang.wangpan.dao;

import com.huang.wangpan.vo.Upfile;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface FileDao {
    Upfile searchFileBymd5(@Param("md5") String md5);

    Upfile searchFileByRealPath(@Param("realPath") String realPath);

    List<Upfile> searchAll();

    void insert(Upfile file);
}
